package com.runnor.common.websys.system.mapper;

import com.runnor.common.websys.system.config.MybatisRedisCache;
import com.runnor.common.websys.system.entity.SysLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author runnor
 * @description 针对表【sys_log】的数据库操作Mapper
 * @createDate 2023-08-18 17:35:17
 * @Entity com.runnor.common.websys.system.entity.SysLog
 */
@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface SysLogMapper extends BaseMapper<SysLog> {

    long deleteSyslogByValueAndException(@Param("value") String value, @Param("exception") String exception);
}




